class SeTimeUtils {
  static String formatSecondsToHMS(int totalSeconds) {
    final hours = totalSeconds ~/ 3600; // 计算小时
    final minutes = (totalSeconds % 3600) ~/ 60; // 计算分钟
    final seconds = totalSeconds % 60; // 计算秒

    final formattedTime = '${hours.toString().padLeft(2, '0')}:'
        '${minutes.toString().padLeft(2, '0')}:'
        '${seconds.toString().padLeft(2, '0')}';

    return formattedTime;
  }
}
